package cc.lucien.springboot01;

import cc.lucien.springboot01.controller.HelloHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class Springboot01Application {

    public static void main(String[] args) {
        ApplicationContext applicationContext = SpringApplication.run(Springboot01Application.class, args);
        HelloHandler helloHandler = applicationContext.getBean(HelloHandler.class);
        System.out.println(helloHandler);
    }

}
